import Mock from 'mockjs'


const mock = () => {
    return Mock.mock({
        'data|10-30': [
            {
                id : "@id",
                username : "@cname",
                date : "@date()",
                avatar : "@image('200x200','FF6600','arpat')",
                description : "@cparagraph()",
                ip : "@ip()",
                email : "@email()",
                blog : "@url()",
                address : '@county(true)',
                "state|1-2": true,
                "type|1": [
                    "admin",
                    "root",
                    "user"
                ]
            }
        ]
    })
}

export default mock